package com.sun.showcase.client.query.basic;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.sun.showcase.pojo.SearchModel;
import com.sun.showcase.client.domain.basic.GroupResource;

public class GroupResourceQuery extends SearchModel<GroupResource> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * 角色表ID       db_column: GROUP_ID 
     */	
	private java.lang.String groupId;
	  /**
     * 资源表ID       db_column: RESOURCE_ID 
     */	
	private java.lang.String resourceId;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private java.lang.String ids[];
	
	//所有资源ids
	private String upRsIds[];
	
	//角色已有资源ids
	private String rsIds;

	public java.lang.String getGroupId() {
		return this.groupId;
	}
	
	public void setGroupId(java.lang.String value) {
		this.groupId = value;
	}
	
	public java.lang.String getResourceId() {
		return this.resourceId;
	}
	
	public void setResourceId(java.lang.String value) {
		this.resourceId = value;
	}
	
	public Map<String, Object> getSearchMap() {
		return searchMap;
	}
	
	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}
	
	public java.lang.String[] getIds() {
		return ids;
	}
	
	public void setIds(java.lang.String[] ids) {
		this.ids = ids;
	}

	public String[] getUpRsIds() {
		return upRsIds;
	}

	public void setUpRsIds(String[] upRsIds) {
		this.upRsIds = upRsIds;
	}

	public String getRsIds() {
		return rsIds;
	}

	public void setRsIds(String rsIds) {
		this.rsIds = rsIds;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.DEFAULT_STYLE);
	}
	
}

